
public class EntiteVelo {
	protected int id;
	protected Etat etat;	
	protected double latitude;
	protected double longitude;
	protected int problem;
	
	
	public EntiteVelo(int id, Etat etat, double latitude, double longitude) {
		this.id = id;
		this.etat = etat;
		this.latitude = latitude;
		this.longitude = longitude;
		this.problem=0;
	}

	public Etat getEtat() {
		return etat;
	}

	public void setEtat(Etat etat) {
		this.etat = etat;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public int getId() {
		return id;
	}
	
	public int getProblem() {
		return problem;
	}
	
	public void setProblem( int p ) {
		problem=p;
	}
	
}
